package com.fengycx.service.impl;

import com.fengycx.pojo.domain.Permission;
import com.fengycx.mapper.PermissionMapper;
import com.fengycx.service.IPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 权限表 服务实现类
 * </p>
 *
 * @author Cino
 * @since 2024-02-23
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {

    @Autowired
    private PermissionMapper mapper;

    @Override
    public List<String> selectSnByLoginId(Long loginId) {
        List<String> Sns= mapper.selectSnByLoginId(loginId);
        return Sns;
    }
}
